h2 {
    color: red;
}
div.box {
    height: 10px;
    background-color: #00ff00;
}
h4,.list {
    color: #ff6699;
}
.box1 p a {
    color: chartreuse;
}
.box2>p>a {
    color: lime;
}
img[alt] {
    border: 2px solid red;
}
a[href = '#'] {
    color: #c7254e;
}

a[title]:link {
    color: limegreen;
}
a[title]:visited {
    color: chocolate;
}
a[title]:hover {
    color: #6535b2;
}
a[title]:active {
    color: #55b28e;
}

.wei:first-line {
    color: lime;
}
.wei:first-letter {
    font-size:200%;
    color:#8A2BE2;
}
.wei:before {
    content: '新闻：';
}
.wei:after {
    content: '结束。';
    font-size: larger;
    color: #ff6699;
}

/*:root {*/
    /*background-image: url(../img/dipper.jpg);*/
/*}*/
:not(p,a) {
    color: #FF0000;
}
p:empty {
    width: 100px;
    height: 20px;
    background: #c7254e;
}
:target {
    border: 2px solid #666666;
    background-color: #55b28e;
}

li:first-child {
    color: red;
}
li:last-child {
    color: #55b28e;
}
li:nth-child(2) {
    color: #8A2BE2;
}
li:nth-child(odd) {
    color: lime;
}
li:nth-child(even) {
    color: red;
}
li:only-child {
    border: 2px solid #FF0000;
}
h1:first-of-type {
    color: #8A2BE2;
}